﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Com.CMS263.BLL;
using Com.CMS263.PO;
using Com.CMS263.Util;

namespace Com.CMS263.Web.manage.GuestManage
{
    public partial class action : System.Web.UI.Page
    {
        StudentInfoBLL vtbll = new StudentInfoBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            string op = Request["op"];
            if (op.ToLower() == "del")
            {
                int id = Convert.ToInt32(Request["id"]);
                if (vtbll.Delete("StudentInfo", id))
                {
                    Response.Write("1");
                }
                else
                {
                    Response.Write("fail");
                }

            }
            if (op.ToLower() == "deloption")
            {
                

            }

        }
    }
}
